mui.init();
//判断是否是手机安卓或者ios平台
function isAppIos(){
    return (mui.os.ios || mui.os.android)? true: false;
}

//路由跳转
function routeJump(path){
    if(isAppIos()){
        window.vm.$router.push({path: window.baseAppAddr+ path});
    }else{
        window.vm.$router.push({path: path});
    }
}




module.exports = {
    isAppIos,
    routeJump
}